/*上传按钮*/
.el-file {
  width: 60px;
  height: 60px;
  display: inline-block;
  position: relative;

  .el-file-input {
    display: block;
    width: 60px;
    height: 60px;
    overflow: hidden;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
    position: relative;
  }

  .el-file-label {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 0;
    left: 0;
    border: #cccccc 1px dashed;
    color: #cccccc;
    font-weight: normal;
    font-size: 58px;
    text-align: center;
    margin-bottom: 0;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.el-file:hover .el-file-label {
  border: #fc7b17 1px dashed;
  color: #fc7b17;
}

.el-file.loading {
  background: url("../img/loading.gif") no-repeat center center;

  .el-file-label {
    text-indent: -9999px;
  }
}

.el-file.hide {
  display: none;
}

.i-edit {
  width: 100px;
  height: 25px;
  white-space: nowrap; /* 不换行 */
  overflow: hidden; /* 隐藏溢出内容 */
  text-overflow: ellipsis; /* 溢出时显示省略号 */
  display: block;
  text-decoration: none;
  cursor: pointer;
  background-image: url(../img/ico_edit.gif);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 18px;
}

.s-edit {
  text-decoration: none;
  overflow: visible;
  cursor: pointer;
  background-image: url(../img/ico_sedit.gif);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 18px;
  position: relative;

  textarea {
    position: absolute;
    left: 20px;
    right: 0;
    border: solid 2px #1e95f5;
    transition: height 0.2s ease;
  }
}

//select选择器
.el-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;

  .el-select-input {
    width: 100%;
    box-sizing: border-box;
  }

  .el-select-suffix {
    position: absolute;
    right: 5px;
    display: flex;
    align-items: center;
  }
}

.el-select-popup {
  position: absolute;
  background: #ffffff;
  z-index: 999;
  padding: 6px;
  box-shadow: 0 3px 14px 2px rgba(0, 0, 0, .05), 0 8px 10px 1px rgba(0, 0, 0, .06), 0 5px 5px -3px rgba(0, 0, 0, .1);

  ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .el-select__dropdown {
    .el-select__dropdown-item {
      line-height: 1.5;
      cursor: pointer;
    }

    .el-select__dropdown-item:hover, .hover {
      background-color: #f3f3f3;
    }
  }
}

